package PO;

import java.io.Serializable;
import java.util.ArrayList;
import User.*;

@SuppressWarnings("serial")
public class GuestListPO extends PO implements Serializable {
	ArrayList<GuestPO> guestList = new ArrayList<GuestPO>();;

	public GuestListPO(ArrayList<GuestPO> guestList) {
		this.guestList = guestList;
	}
	public GuestListPO(GuestList gl){
		for(Guest g:gl.getGuestList()){
			GuestPO po=new GuestPO(g);
			guestList.add(po);
		}
	}
	
	public GuestListPO() {
	}

	public ArrayList<GuestPO> getList() {
		return guestList;
	}
}
